﻿@using Smart.Project.Data
@model MEvent
@{
    Layout = null;
}
<link href="~/Content/css/styles.css" rel="stylesheet" />
<link href="~/Content/css/styles-blue.css" rel="stylesheet" />
<link href="~/Content/css/bootstrap.min.css" rel="stylesheet" />
<link href="~/Content/css/new-styles.css" rel="stylesheet" />

<script src="~/Content/js/vendors/jquery/jquery.min.js"></script>
<script src="~/Content/js/vendors/bootstrap/bootstrap.min.js"></script>
<script src="~/Content/js/vendors/form/jquery.form.min.js"></script>
<script src="~/Content/js/vendors/form/jquery.validate.min.js"></script>
<script src="~/Content/js/vendors/slimScroll/jquery.slimscroll.min.js"></script>
<script type="text/javascript">
    $(function () {
        $("#slimScroll").slimScroll({
            height: "400px",
        });


    });
</script>
<div class="powerwidget" data-widget-editbutton="false" style="margin-bottom:0px">
    <div class="inner-spacer">
        <div id="slimScroll">
            @using (Html.BeginForm("Create", "Event", FormMethod.Post, new { @class = "form-horizontal", @id = "mainForm", @style = "margin-bottom:0px" }))
            {
            <fieldset>
                <div class="form-group">
                    <label class="col-md-2 control-label" for="textinput">事件名称</label>
                    <div class="col-md-10">
                        @Html.HiddenFor(item => item.Id)
                        @Html.TextBoxFor(item => item.EVENTNAME, new { @class = "form-control required", @readonly = "readonly" })
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-md-2 control-label" for="textinput">事件时间</label>
                    <div class="col-md-10">
                        @Html.TextBoxFor(item => item.EVENTTIME, new { @class = "form-control isPhone", @readonly = "readonly"
                        })
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-md-2 control-label" for="textinput">参与人</label>
                    <div class="col-md-10">
                        @Html.TextBoxFor(item => item.MANAGER.USERNAME, new { @class = "form-control required", @id = "User", @readonly = "readonly" })
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-md-2 control-label" for="textinput">标签</label>
                    <div class="col-md-10">
                        @Html.TextBoxFor(item => item.TAG.NAME, new { @class = "form-control required", @readonly = "readonly" })
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-md-2 control-label" for="textinput">描述</label>
                    <div class="col-md-10">
                        @Html.TextBoxFor(item => item.DEPICT, new { @class = "form-control", @readonly = "readonly" })
                    </div>
                </div>

                @*<div class="form-group">
            <div class="col-md-12" style="text-align:center">
                <button id="btnSave" type="button" class="btn btn-info">保存</button>
            </div>
        </div>*@
                <div class="form-group" style="display:none">
                    <div class="col-md-8">
                        @Html.TextBoxFor(item => item.TAG.Id, new { @class = "form-control", @id = "TAGID", @readonly = "readonly" })
                    </div>
                </div>
            </fieldset>
            }
        </div>
    </div>
</div>


